package com.ddwl.schema.bo.goods.retail;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @Author hemiaojun
 * @Date 2021/7/6 15:17
 */
@ApiModel("商品批量上下架Bo")
@Setter
@Getter
public class ItemBatchShelfBo {

    @NotNull(message = "请选择需要上下架的商品")
    @Size(min = 1,message = "请选择需要上下架的商品")
    @ApiModelProperty("ID列表")
    private List<String> ids;

    @NotNull(message = "上下架状态为空")
    @ApiModelProperty("商品状态")
    private Integer itemStatus;

    @ApiModelProperty(value = "门店ID",hidden = true)
    private String shopId;

}
